package com.tarena.luban.sentinel.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class HelloBlockHandler {
    public static String blockHandler(String name, BlockException e){
        return "单独进入HelloBlockHandler处理降级 "+name;
    }
    public static String fallback(String name,Throwable e){
        return "单独进入HelloBlockHandler处理降级 fallback"+name;
    }
}
